home *** CD-ROM | disk | FTP | other *** search
-
-
-
- ffffppppggggeeeettttmmmmaaaasssskkkk((((3333CCCC)))) ffffppppggggeeeettttmmmmaaaasssskkkk((((3333CCCC))))
-
-
-
- NNNNAAAAMMMMEEEE
- fpgetmask, fpgetround, fpgetsticky, fpsetmask, fpsetround, fpsetsticky -
- fetch/set subfields of floating-point control status register of MIPS
- floating-point units
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_iiii_eeee_eeee_eeee_ffff_pppp_...._hhhh_>>>>
-
- _####_dddd_eeee_ffff_iiii_nnnn_eeee _ffff_pppp______eeee_xxxx_cccc_eeee_pppp_tttt _iiii_nnnn_tttt
-
- _tttt_yyyy_pppp_eeee_dddd_eeee_ffff _eeee_nnnn_uuuu_mmmm _ffff_pppp______rrrr_nnnn_dddd _{{{{
- _FFFF_PPPP______RRRR_NNNN _==== _0000_,,,, _////_**** _rrrr_oooo_uuuu_nnnn_dddd _tttt_oooo _nnnn_eeee_aaaa_rrrr_eeee_ssss_tttt _rrrr_eeee_pppp_rrrr_eeee_ssss_eeee_nnnn_tttt_aaaa_bbbb_llll_eeee _nnnn_uuuu_mmmm_bbbb_eeee_rrrr_,,,,
- _tttt_iiii_eeee _----_>>>> _eeee_vvvv_eeee_nnnn _****_////
- _FFFF_PPPP______RRRR_ZZZZ _==== _1111_,,,, _////_**** _rrrr_oooo_uuuu_nnnn_dddd _tttt_oooo_wwww_aaaa_rrrr_dddd _zzzz_eeee_rrrr_oooo _((((_tttt_rrrr_uuuu_nnnn_cccc_aaaa_tttt_eeee_)))) _****_////
- _FFFF_PPPP______RRRR_PPPP _==== _2222_,,,, _////_**** _rrrr_oooo_uuuu_nnnn_dddd _tttt_oooo_wwww_aaaa_rrrr_dddd _pppp_llll_uuuu_ssss _iiii_nnnn_ffff_iiii_nnnn_iiii_tttt_yyyy _****_////
- _FFFF_PPPP______RRRR_MMMM _==== _3333 _////_**** _rrrr_oooo_uuuu_nnnn_dddd _tttt_oooo_wwww_aaaa_rrrr_dddd _mmmm_iiii_nnnn_uuuu_ssss _iiii_nnnn_ffff_iiii_nnnn_iiii_tttt_yyyy _****_////
- _}}}} _ffff_pppp______rrrr_nnnn_dddd_;;;;
-
- _ffff_pppp______eeee_xxxx_cccc_eeee_pppp_tttt _ffff_pppp_gggg_eeee_tttt_mmmm_aaaa_ssss_kkkk_((((_vvvv_oooo_iiii_dddd_))))_;;;;
-
- _ffff_pppp______rrrr_nnnn_dddd _ffff_pppp_gggg_eeee_tttt_rrrr_oooo_uuuu_nnnn_dddd_((((_vvvv_oooo_iiii_dddd_))))_;;;;
-
- _ffff_pppp______eeee_xxxx_cccc_eeee_pppp_tttt _ffff_pppp_gggg_eeee_tttt_ssss_tttt_iiii_cccc_kkkk_yyyy_((((_vvvv_oooo_iiii_dddd_))))_;;;;
-
- _ffff_pppp______eeee_xxxx_cccc_eeee_pppp_tttt _ffff_pppp_ssss_eeee_tttt_mmmm_aaaa_ssss_kkkk_((((_ffff_pppp______eeee_xxxx_cccc_eeee_pppp_tttt_))))_;;;;
-
- _ffff_pppp______rrrr_nnnn_dddd _ffff_pppp_ssss_eeee_tttt_rrrr_oooo_uuuu_nnnn_dddd_((((_ffff_pppp______rrrr_nnnn_dddd_))))_;;;;
-
- _ffff_pppp______eeee_xxxx_cccc_eeee_pppp_tttt _ffff_pppp_ssss_eeee_tttt_ssss_tttt_iiii_cccc_kkkk_yyyy_((((_ffff_pppp______eeee_xxxx_cccc_eeee_pppp_tttt_))))_;;;;
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- These routines fetch/set various subfields of the floating-
- point control status register of the floating-point unit.
-
- _ffff_pppp_gggg_eeee_tttt_mmmm_aaaa_ssss_kkkk returns the current exception mask.
-
- _ffff_pppp_gggg_eeee_tttt_rrrr_oooo_uuuu_nnnn_dddd returns the current rounding mode.
-
- _ffff_pppp_gggg_eeee_tttt_ssss_tttt_iiii_cccc_kkkk_yyyy returns the logged exceptions.
-
- _ffff_pppp_ssss_eeee_tttt_mmmm_aaaa_ssss_kkkk sets the exception mask, returning the previous
- exception mask. Any sticky bit whose corresponding mask bit is being
- enabled is cleared.
-
- _ffff_pppp_ssss_eeee_tttt_rrrr_oooo_uuuu_nnnn_dddd sets the rounding mode, returning the previous
- rounding mode.
-
- _ffff_pppp_ssss_eeee_tttt_ssss_tttt_iiii_cccc_kkkk_yyyy sets the logged exceptions, returning the previous logged
- exceptions.
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- ffffppppggggeeeettttmmmmaaaasssskkkk((((3333CCCC)))) ffffppppggggeeeettttmmmmaaaasssskkkk((((3333CCCC))))
-
-
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- _ffff_pppp_cccc(3C), _ssss_iiii_gggg_ffff_pppp_eeee(3C)
- R4000 Microprocessor User's Manual
-
- NNNNOOOOTTTTEEEESSSS
- All of these routines take and/or return their values right justified.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-